package com.blt.govdata.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.blt.govdata.mapper.TSysOrganizationMapper;
import com.blt.govdata.model.TSysOrganization;
import com.blt.govdata.model.vo.TSysOrganizationVo;
import com.blt.govdata.service.ITSysOrganizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 * @author AustinGJ123
 * @since 2018-03-26
 */
@Service
public class TSysOrganizationServiceImpl extends ServiceImpl<TSysOrganizationMapper, TSysOrganization> implements ITSysOrganizationService {

    @Autowired
    private TSysOrganizationMapper mapper;


    public TSysOrganizationVo selectVoById(String id) throws Exception {
        return null;
    }

    public Page<TSysOrganizationVo> selectVoPage(Map<String, Object> paramMap) throws Exception {
        //todo
        return null;
    }

    @Override
    public List<TSysOrganizationVo> selectVoOrgsByPid(Map<String, Object> params) {
        return this.mapper.selectVoOrgsByPid(params);
    }
}
